package com.ess.user.dto.req;

import org.hibernate.validator.constraints.NotEmpty;

public class LoginReqDto {

    /**
     * 用户登录名
     */
    @NotEmpty(message = "用户登录名不可空")
    private String userName;

    /**
     * 用户登录密码，默认MD5(123456)
     */
    @NotEmpty(message = "用户登录密码不可空")
    private String userPass;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPass() {
        return userPass;
    }

    public void setUserPass(String userPass) {
        this.userPass = userPass;
    }


}
